package com.joysuch.wwyt.bp.bean.inspect;

import com.joysuch.wwyt.bp.entity.inspect.BpAppPlanTask;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

/**
 * @Author ZhangDong
 * @Date 2020/6/15 18:22
 */
@Data
public class BpPlanAppTimeDto {

    @ApiModelProperty("任务检查时间")
    private LocalTime checkTime;
    @ApiModelProperty("任务表id-上传记录时需要")
    private Long appPlanTaskId;

    public BpPlanAppTimeDto(){}

    public BpPlanAppTimeDto(BpAppPlanTask bpAppPlanTask){
        this.checkTime=bpAppPlanTask.getCheckTime();
        this.appPlanTaskId = bpAppPlanTask.getId();
    }
}
